/***********************************************************************
 *            Project: CoreCms
 *        ProjectName: 核心内容管理系统                                
 *                Web: https://www.corecms.net                      
 *             Author: 大灰灰                                          
 *              Email: jianweie@163.com                                
 *         CreateTime: 2022/12/28 22:34:42
 *        Description: 暂无
 ***********************************************************************/

using SqlSugar;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;

namespace CoreCms.Net.Model.Entities
{
    /// <summary>
    /// 微信用户交互授权
    /// </summary>
    public partial class WeChatUserAccessToken
    {
        /// <summary>
        /// 构造函数
        /// </summary>
        public WeChatUserAccessToken()
        {
        }
		
        /// <summary>
        /// 序列
        /// </summary>
        [Display(Name = "序列")]
		
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        
        [Required(ErrorMessage = "请输入{0}")]
        
        
        
        public System.Int32 id  { get; set; }
        
		
        /// <summary>
        /// 网页授权接口调用凭证
        /// </summary>
        [Display(Name = "网页授权接口调用凭证")]
		
        [Required(ErrorMessage = "请输入{0}")]
        [StringLength(maximumLength:120,ErrorMessage = "{0}不能超过{1}字")]
        
        
        public System.String access_token  { get; set; }
        
		
        /// <summary>
        /// 超时时间秒
        /// </summary>
        [Display(Name = "超时时间秒")]
		
        [Required(ErrorMessage = "请输入{0}")]
        
        
        
        public System.Int32 expires_in  { get; set; }
        
		
        /// <summary>
        /// 用户刷新access_token
        /// </summary>
        [Display(Name = "用户刷新access_token")]
		
        
        [StringLength(maximumLength:120,ErrorMessage = "{0}不能超过{1}字")]
        
        
        public System.String refresh_token  { get; set; }
        
		
        /// <summary>
        /// 需刷新时间
        /// </summary>
        [Display(Name = "需刷新时间")]
		
        [Required(ErrorMessage = "请输入{0}")]
        
        
        
        public System.DateTime refresh_DateTime  { get; set; }
        
		
        /// <summary>
        /// 用户唯一标识
        /// </summary>
        [Display(Name = "用户唯一标识")]
		
        
        [StringLength(maximumLength:50,ErrorMessage = "{0}不能超过{1}字")]
        
        
        public System.String openid  { get; set; }
        
		
        /// <summary>
        /// 用户授权的作用域
        /// </summary>
        [Display(Name = "用户授权的作用域")]
		
        
        [StringLength(maximumLength:50,ErrorMessage = "{0}不能超过{1}字")]
        
        
        public System.String scope  { get; set; }
        
		
        /// <summary>
        /// 是否为快照页模式虚拟账号
        /// </summary>
        [Display(Name = "是否为快照页模式虚拟账号")]
		
        
        
        
        
        public System.Int32? is_snapshotuser  { get; set; }
        
		
        /// <summary>
        /// 用户统一标识
        /// </summary>
        [Display(Name = "用户统一标识")]
		
        
        [StringLength(maximumLength:50,ErrorMessage = "{0}不能超过{1}字")]
        
        
        public System.String unionid  { get; set; }
        
		
    }
}
